package com.qbccn.blog.mapper;

import com.qbccn.blog.entity.BgRole;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * @author linke
 * @date 2019-12-22 下午 21:38
 * @description
 */
public interface BgRoleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BgRole record);

    int insertSelective(BgRole record);

    BgRole selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BgRole record);

    int updateByPrimaryKey(BgRole record);

    int batchInsert(@Param("list") List<BgRole> list);

    List<BgRole> getListByUserId(@Param("userId") Integer userId);
}